<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title></title>
		<style>
			
		</style>
		<script>
			//var arr = [1,4,9,{a:1},1000,33];
			var arr = [1,4,6,7,10];

			// 数组中最大的数 Math.max();

			console.log(Math.max(1,4,6,7,10));

			// 展开数组
			var newArr = [...arr];

			console.log(newArr);

			console.log(Math.max(...arr));


		</script>
	</head>

	<body>
		
	</body>
</html>